package com.cmccgz.udacs_landlord_webapp.main.housemanager.manager;

import com.cmccgz.baselibrary.base.BaseActivity;
import com.cmccgz.udacs_landlord_webapp.R;
import com.cmccgz.udacs_landlord_webapp.data.Injection;

/**
 * @author: Huang
 * @Descripion:
 * @date 2017/6/2 16:06
 */

public class HouseManagerActivity extends BaseActivity {

    @Override
    protected int setLayoutId() {
        return 0;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initFragment() {
        HouseManagerFragment fragment = (HouseManagerFragment) fragmentManager.findFragmentById(R.id.contentFrame);
        if (fragment == null){
            fragment = HouseManagerFragment.newInstance();
            showFragment(fragment);
        }
        new HouseManagerPresenter(Injection.provideHouseManagerRepository(),fragment);
    }

    @Override
    protected void beforePermission() {

    }

    @Override
    protected int setSystemBarColorId() {
        return 0;
    }

}
